<div class="customers index">
	<h2><?php __('Customers');?></h2>
	<table cellpadding="0" cellspacing="0" width="95%">
	<tr>
			<th>Account</th>
			<th>Firstname</th>
			<th>Lastname</th>
			<th>Salutation</th>
			<th>Companyname</th>
			<th>PO Box</th>
			<th>Bill Street</th>
			<th>Bill HouseNo</th>
			<th>Bill Zip</th>
			<th>Bill City</th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($result as $customer):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td class="solutionscontentbigger"><?php echo $customer['c']['account_number']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['inst_first_name']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['inst_last_name']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['salutation']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['company_name']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['po_box']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['bill_street']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['bill_house_no']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['bill_zip']; ?>&nbsp;</td>
		<td class="solutionscontentbigger"><?php echo $customer['c']['bill_city']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Edit', true), array('controller' => 'customers','action' => 'edit2', '?' => array('customerid' => $customer['c']['id'], 'runid' => $runid))); ?>
			<?php echo $this->Html->link(__('Adress-OK', true), array('controller' => 'customers','action' => 'adressok', '?' => array('customerid' => $customer['c']['id'], 'runid' => $runid))); ?>
		</td>
	</tr>


<?php endforeach; ?>
	</table>
</div>
